<div class="main-r flr">
	<!--<div class="news ov-h mb-10 clb">
    	<div class="title-r txtB"><?php echo $this->lang->line('system_news'); ?></div>
        <div class="box-r ul-none">
        	<marquee height="262" scrolldelay="70" scrollamount="1" direction="up">
        	<ul>
        		<?php if (count($news)>0) {
        			foreach ($news as $key => $new){
        		?>
            	<li><a href="<?php echo base_url();?>news/detail/<?php echo $new['id']; ?>"><?php echo $new['ten_news']; ?></a>
            	<?php
            		if (isset($this->session->userdata['language']) && $this->session->userdata['language']=='english'){
            			echo date('m/d/Y', strtotime($new['createdtime']));
            		}else {
            			echo date('d/m/Y', strtotime($new['createdtime']));
            		}
            	?></li>
                <?php }
        		}?>

            </ul>
            </marquee>
            <a href="<?php echo base_url();?>news" class="colorO view-more"><?php echo $this->lang->line('system_viewmore'); ?></a>
        </div>
    </div>-->
    <div class="gallery-h ov-h mb-10 clb">
    	<div class="title-r txtB"><?php echo $this->lang->line('system_gallery'); ?></div>
        <div class="box-r ul-none">
        	<ul style="height:200px">
        		<?php if (count($photos)>0){
        			foreach ($photos as $photo){
				?>
					<li><a href="<?php echo base_url();?>gallery/listalbum"><img src="<?php echo base_url (); ?>application/storage/images/<?php echo $photo->file_name; ?>" /></a></li>
				<?php
        			}
        		}
        		?>
            </ul>
            <a href="<?php echo base_url();?>gallery/listalbum" class="colorO view-more"><?php echo $this->lang->line('system_viewmore'); ?></a>
        </div>
    </div>
    <div class="links ov-h mb-10 clb">
    	<div class="title-r txtB"><?php echo $this->lang->line('system_linkedweb'); ?></div>
        <div class="box-r ul-none">
        	<!--<?php echo $this->lang->line('system_select'); ?>:
            <select name="links" onchange="window.open(this.options[this.selectedIndex].value,'_blank');">
            	<option value="">-- Select --</option>
            	<?php if (count($links)>0){
            		foreach ($links as $link){
            			if ($link['type']=='' || $link['type']=='website'){
    			?>
						<option value="<?php echo $link['link']; ?>"><?php echo $link['ten_link']; ?></option>
            	<?php
            			}
            		}
            	}
            	?>
            </select>-->
            	<ul>
            		<?php if (count($links)>0){
            		foreach ($links as $link){
            			if ($link['type']=='' || $link['type']=='website'){
    			?>
    					<li style="margin-bottom:10px;padding-left:30px;">
    						<a href="<?php echo $link['link']; ?>" target="_blank"><img src="<?php echo base_url (); ?>application/storage/images/<?php echo $link['file_name']; ?>" class="yahoo" width="154" height="30"/></a>
    					</li>

            	<?php
            			}
            		}
            	}
            	?>
            	</ul>
        </div>
    </div>
    <div class="lienhe ov-h mb-10 clb">
    	<div class="title-r txtB"><?php echo $this->lang->line('system_support'); ?></div>
        <div class="box-r ul-none">
        	<ul>
        		<?php if (count($lienhe) >0) {
        			foreach ($lienhe as $litem){
        				?>
						<li>
		                	<p><span class="colorR"><?php echo $litem['ten']; ?> - </span> <?php echo $litem['so_dien_thoai']; ?></p>
		                	<?php if ($litem['yahoo'] !=''){ ?>
		                    <a href="ymsgr:sendIM?<?php echo $litem['yahoo']; ?>"><img src="<?php echo base_url();?>application/views/front_end/images/yahoo.png" class="yahoo" /></a>
		                    <?php }?>
		                    <?php if ($litem['skype'] !=''){ ?>
		                    <a href="skype:<?php echo $litem['skype']; ?>?chat"><img src="<?php echo base_url();?>application/views/front_end/images/skype.png" class="skype" /></a>
		                    <?php }?>
		                </li>
        				<?php
        			}
        		}
    			?>
            </ul>
        </div>
    </div>
    <div class="links ov-h mb-10 clb">
    	<div class="title-r txtB">Videos</div>
        <div class="box-r ul-none">        	
        	<iframe width="288" height="260" frameborder="0" allowfullscreen="" src="<?php if (isset($video)) echo $video[0]['ten_file_video']; ?>"></iframe>
        	<br><a href="<?php echo base_url();?>gallery/listvideo" class="colorO view-more"><?php echo $this->lang->line('system_viewmore'); ?></a>
        </div>
    </div>

</div>